[INFO] cloning repository https://github.com/wavded/code-gen-prag
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wavded/code-gen-prag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwavded%2Fcode-gen-prag", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwavded%2Fcode-gen-prag'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6dd1c7a028a948cde3a48ff1d01e010448dd433b
[INFO] checking wavded/code-gen-prag against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwavded%2Fcode-gen-prag" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wavded/code-gen-prag on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wavded/code-gen-prag
[INFO] finished tweaking git repo https://github.com/wavded/code-gen-prag
[INFO] tweaked toml for git repo https://github.com/wavded/code-gen-prag written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/wavded/code-gen-prag already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2af7d04b10d7b94e95f32c4132101fa8b40c59c63e19dce5eda259b03dc6ef55
[INFO] running `Command { std: "docker" "start" "-a" "2af7d04b10d7b94e95f32c4132101fa8b40c59c63e19dce5eda259b03dc6ef55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2af7d04b10d7b94e95f32c4132101fa8b40c59c63e19dce5eda259b03dc6ef55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2af7d04b10d7b94e95f32c4132101fa8b40c59c63e19dce5eda259b03dc6ef55", kill_on_drop: false }`
[INFO] [stdout] 2af7d04b10d7b94e95f32c4132101fa8b40c59c63e19dce5eda259b03dc6ef55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6afeda8a5623929e79445048da501d3c281c6c11f05a4d3e65131ded944d29b5
[INFO] running `Command { std: "docker" "start" "-a" "6afeda8a5623929e79445048da501d3c281c6c11f05a4d3e65131ded944d29b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.4
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking libc v0.2.36
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]     Checking rustc-demangle v0.1.5
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]    Compiling synstructure v0.6.1
[INFO] [stderr]    Compiling failure_derive v0.1.1
[INFO] [stderr]     Checking backtrace v0.3.5
[INFO] [stderr]     Checking failure v0.1.1
[INFO] [stderr]     Checking code-gen-prag v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[feature(nll)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[feature(nll)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:42:52
[INFO] [stdout]    |
[INFO] [stdout] 42 |             '#' => &format!("{}", generate_comment(line[2..], "javascript")),
[INFO] [stdout]    |                                   ---------------- ^^^^^^^^^
[INFO] [stdout]    |                                   |                |
[INFO] [stdout]    |                                   |                expected `&str`, found `str`
[INFO] [stdout]    |                                   |                help: consider borrowing here: `&line[2..]`
[INFO] [stdout]    |                                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:6:4
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn generate_comment<'a>(text: &'a str, lang: &'static str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^     -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:42:52
[INFO] [stdout]    |
[INFO] [stdout] 42 |             '#' => &format!("{}", generate_comment(line[2..], "javascript")),
[INFO] [stdout]    |                                   ---------------- ^^^^^^^^^
[INFO] [stdout]    |                                   |                |
[INFO] [stdout]    |                                   |                expected `&str`, found `str`
[INFO] [stdout]    |                                   |                help: consider borrowing here: `&line[2..]`
[INFO] [stdout]    |                                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:6:4
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn generate_comment<'a>(text: &'a str, lang: &'static str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^     -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `code-gen-prag` due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `code-gen-prag` due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "6afeda8a5623929e79445048da501d3c281c6c11f05a4d3e65131ded944d29b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6afeda8a5623929e79445048da501d3c281c6c11f05a4d3e65131ded944d29b5", kill_on_drop: false }`
[INFO] [stdout] 6afeda8a5623929e79445048da501d3c281c6c11f05a4d3e65131ded944d29b5
